\hypertarget{pwm_8h}{
\section{atmega1281/low/include/pwm.h File Reference}
\label{pwm_8h}\index{atmega1281/low/include/pwm.h@{atmega1281/low/include/pwm.h}}
}
{\ttfamily \#include $<$avr/io.h$>$}\par
{\ttfamily \#include \char`\"{}nxbot.h\char`\"{}}\par
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__nxbot__pwm_ga173370575e519e4b39a40dcbed25b05c}{MASK\_\-FREQ}~0xF8
\item 
\#define \hyperlink{group__nxbot__pwm_ga1380779eb88f44d3b04f56f34844cd49}{PRESCALER\_\-1}~1
\item 
\#define \hyperlink{group__nxbot__pwm_gaea484618f5434fb66fe764a38f440f1b}{PRESCALER\_\-8}~2
\item 
\#define \hyperlink{group__nxbot__pwm_ga8ef1c1674bc0e2e5a50b5ef05333acbb}{PRESCALER\_\-64}~3
\item 
\#define \hyperlink{group__nxbot__pwm_ga052c8c73dbda6c25f480ace56519a596}{PRESCALER\_\-256}~4
\item 
\#define \hyperlink{group__nxbot__pwm_gadf7f1e9c11964c6871486a89e6cce487}{PRESCALER\_\-1024}~5
\item 
\#define \hyperlink{group__nxbot__pwm_ga1df990f1a1fc97b95e8d53f719968026}{MAX\_\-PWM}~127
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{group__nxbot__pwm_gaa8b8bbd1655fae8802b479327355a9e2}{configPwm} (unsigned char freq)
\item 
void \hyperlink{group__nxbot__pwm_ga7a0e2901860a615a91f8f41fec8c75e8}{setFreqPwm} (unsigned char freq)
\item 
unsigned char \hyperlink{group__nxbot__pwm_gaf3b92a34490a16a3781ba5f6548dd205}{getFreqPwm} (void)
\item 
void \hyperlink{group__nxbot__pwm_gafbfae8c7ddb23906a8e0863e8ddda681}{setPwmRight} (signed char right)
\item 
void \hyperlink{group__nxbot__pwm_ga5cb285add5e33db68d6e53a7f309ce3b}{setPwmLeft} (signed char left)
\end{DoxyCompactItemize}
